package main

type Worker struct {
	closed  int32
	entries []*Entry
}

type Entry struct {
	Count int
	Data  []any
}

func (w *Worker) New(data ...any) *Entry {
	e := &Entry{Data: data}
	w.entries = append(w.entries, e)
	return e
}

func (e *Entry) Run() {
	// 具体逻辑
}
